package user;

import book.Book;
import book.BookRack;
import list.IUSB;

public abstract class User {
    protected String name;
    protected IUSB[] iusbs;
    public User(String name) {
        this.name = name;
    }

    public abstract int menu();

    public void work(int choice, BookRack bookRack) {
        this.iusbs[choice].work(bookRack);
    }
}
